package com.woniuxy.service;

import com.woniuxy.entity.RbacRole;
import com.woniuxy.entity.ResponseEntity;

import java.util.Set;


public interface RbacRoleService {
    ResponseEntity findAll(int currentPage, int pageSize);

    ResponseEntity findOne(int id);

    ResponseEntity addOne(RbacRole rbacRole);

    ResponseEntity deleteOne(int id);

    ResponseEntity updateOne(RbacRole rbacRole);

    Set<String> findOneByUserName(String username);

    ResponseEntity editType(int id);

    ResponseEntity search(int currentPage, int pageSize, String name, String code);
}
